<template>
  <div class="title-header title-text title-border">
    <h3>{{ title }}</h3>
  </div>
</template>
<script>
export default {
  props: {
    title: {
      type: String,
      default: '标题'
    }
  },
  data: function() {
    return {}
  },
  watch: {
    handler: function(title) {
      this.title = title
    },
    immediate: true
  }
}
</script>
